import java.util.LinkedList;

public class Obstacle {
    private LinkedList<Ob> obs;

    public Obstacle(){
        initObstacle();
    }

    private void initObstacle() {
        obs=new LinkedList<>();

        obs.add(new Ob(0,0,1000,20));
        obs.add(new Ob(0,945,1000,20));
        obs.add(new Ob(0,0,20,1000));
        obs.add(new Ob(965,0,20,1000));

        obs.add(new Ob(200,750,10,215));
        obs.add(new Ob(775,20,10,215));

        obs.add(new Ob(300,700,300,10));
        obs.add(new Ob(385,255,300,10));

        obs.add(new Ob(600,600,10,110));
        obs.add(new Ob(375,255,10,110));

        obs.add(new Ob(300,600,300,10));
        obs.add(new Ob(385,355,300,10));

        obs.add(new Ob(300,483,385,10));

        obs.add(new Ob(20,600,100,10));
        obs.add(new Ob(865,355,100,10));

        obs.add(new Ob(120,150,10,460));
        obs.add(new Ob(855,355,10,460));
        obs.add(new Ob());
        obs.add(new Ob());
        obs.add(new Ob());
        obs.add(new Ob());
    }

    public LinkedList<Ob> getObs() {
        return obs;
    }

    public void setObs(LinkedList<Ob> obs) {
        this.obs = obs;
    }
}
